package cn.laixueit.service;

import cn.laixueit.pojo.Cart;
import cn.laixueit.pojo.OrderDetail;
import cn.laixueit.pojo.OrderVo;
import cn.laixueit.pojo.ShipAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ShipAddressService extends IService<ShipAddress> {
    List<ShipAddress> listByUser(String token);

    String createOrder(OrderVo orderVo);

    List<OrderDetail> listOrderDetail(String orderId);

    void subOrder(ShipAddress shipAddress);
}
